package cn.tedu.home.man.webapi.service.impl;

import cn.tedu.home.man.service.IHomeWorkService;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;


@DubboService
@Service
@Slf4j
public class HomeWorkServiceImpl implements IHomeWorkService {
    @Override
    public void washFloor() {
        System.out.println("老公辛苦的完成了扫地擦地的工作");
    }

    @Override
    public void washTray() {
        System.out.println("老公完成了洗碗的工作,摔碎了一个盘子");
    }

    @Override
    public void cooking(String foodName) {
        System.out.println("老公完成了"+foodName+",有点糊");
    }
}
